home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / Makefile < prev    next >
Makefile  |  2004-06-11  |  3KB  |  107 lines

  1. # Generated automatically from Makefile.in by configure.
  2. SHELL=/bin/sh
  3. .SUFFIXES:
  4. .SUFFIXES: .c .o
  5.  
  6. all: tg
  7.  
  8. CC=gcc
  9. YACC=bison -y
  10. LEX=flex
  11. CFLAGS=-g -Wall
  12.  
  13. prefix=/usr/local
  14. exec_prefix=$(prefix)
  15. bindir=$(exec_prefix)/bin
  16. datadir=$(prefix)/share
  17.  
  18. INSTALL=/bin/install -c
  19. INSTALL_DATA=${INSTALL} -m 644
  20.  
  21. TGOBJ=tgmain.o y.tab.o lex.yy.o alloc.o generator.o atom.o crc.o txttab.o \
  22.  lintab.o errtab.o strbuf.o util.o eval.o omani.o oprint.o srctab.o stack.o \
  23.  output.o break.o func.o debug.o hash.o printf.o db.o istack.o frame.o use.o
  24.  
  25. tg: $(TGOBJ)
  26.     $(CC) -g $(TGOBJ) -o tg
  27.  
  28. y.tab.o: y.tab.c
  29.     $(CC) -c -g y.tab.c -o y.tab.o
  30.  
  31. lex.yy.o: lex.yy.c
  32.     $(CC) -c -g lex.yy.c -o lex.yy.o
  33.     
  34. lex.yy.c: tg.l
  35.     $(LEX) tg.l
  36.  
  37. tgmain.o: y.tab.h
  38.  
  39. y.tab.h: tg.y
  40.     $(YACC) -d tg.y
  41.  
  42. y.tab.c: tg.y
  43.     $(YACC) -d tg.y
  44.  
  45. clean:
  46.     rm -f *.o tg y.output M*.bak core *.core
  47.  
  48. maintainer-clean: clean
  49.     rm -f config.h config.status config.cache config.log lex.yy.? y.tab.? tags
  50.     rm -rf tg-* html/*
  51.  
  52.        
  53. install: 
  54.     $(INSTALL) tg $(bindir)
  55.  
  56. uninstall:
  57.     rm -f $(bindir)/tg
  58.     
  59.                
  60. depend: 
  61.     makedepend -Y *.c 2> /dev/null
  62.  
  63. TAGS: 
  64.     ctags *
  65.     
  66. # DO NOT DELETE THIS LINE (generated dependencies)
  67.  
  68. alloc.o: sysdefs.h config.h
  69. atom.o: sysdefs.h config.h alloc.h crc.h list.h atom.h
  70. break.o: alloc.h generator.h structs.h txttab.h lintab.h sysdefs.h config.h
  71. crc.o: crc_table.h
  72. db.o: db.h
  73. debug.o: atom.h debug.h structs.h txttab.h lintab.h sysdefs.h config.h
  74. errtab.o: alloc.h sysdefs.h config.h atom.h lintab.h
  75. eval.o: atom.h db.h debug.h structs.h txttab.h lintab.h eval.h frame.h func.h
  76. eval.o: generator.h istack.h omani.h strbuf.h srctab.h sysdefs.h config.h
  77. eval.o: stack.h util.h version.h
  78. frame.o: frame.h omani.h
  79. func.o: alloc.h atom.h eval.h structs.h txttab.h lintab.h func.h generator.h
  80. func.o: hash.h output.h omani.h printf.h strbuf.h sysdefs.h config.h util.h
  81. generator.o: alloc.h atom.h break.h debug.h structs.h txttab.h lintab.h
  82. generator.o: eval.h generator.h omani.h output.h sysdefs.h config.h strbuf.h
  83. generator.o: use.h util.h
  84. hash.o: alloc.h hash.h list.h config.h sysdefs.h
  85. istack.o: alloc.h istack.h sysdefs.h config.h
  86. lex.yy.o: y.tab.h alloc.h sysdefs.h config.h txttab.h
  87. lintab.o: lintab.h alloc.h sysdefs.h config.h
  88. omani.o: alloc.h sysdefs.h config.h omani.h list.h
  89. oprint.o: atom.h omani.h sysdefs.h config.h
  90. output.o: alloc.h atom.h debug.h structs.h txttab.h lintab.h generator.h
  91. output.o: hash.h sysdefs.h config.h
  92. printf.o: alloc.h generator.h structs.h txttab.h lintab.h omani.h sysdefs.h
  93. printf.o: config.h
  94. srctab.o: srctab.h structs.h txttab.h lintab.h hash.h
  95. stack.o: alloc.h generator.h structs.h txttab.h lintab.h list.h config.h
  96. stack.o: stack.h sysdefs.h omani.h
  97. strbuf.o: alloc.h sysdefs.h config.h
  98. sysdefs.o: sysdefs.h config.h
  99. tgmain.o: alloc.h atom.h db.h y.tab.h sysdefs.h config.h generator.h
  100. tgmain.o: structs.h txttab.h lintab.h errtab.h srctab.h output.h use.h
  101. tgmain.o: version.h
  102. tstgen.o: sysdefs.h config.h
  103. txttab.o: alloc.h sysdefs.h config.h txttab.h
  104. use.o: generator.h structs.h txttab.h lintab.h use.h
  105. util.o: strbuf.h
  106. y.tab.o: alloc.h generator.h structs.h txttab.h lintab.h util.h
  107.